package cn.zcq100.Graphics;
import java.awt.*;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

import com.sun.image.codec.jpeg.JPEGCodec;

import sun.awt.image.JPEGImageDecoder;
public class Demo {
public static void main(String[] args) {
	try {
		InputStream is=new FileInputStream("E:\\ͼƬ\\008_1024.jpg");
		JPEGImageDecoder jpge=(JPEGImageDecoder) JPEGCodec.createJPEGDecoder(is);
		
	} catch (FileNotFoundException e) {
		e.printStackTrace();
	}
	
}
}
